import { CreateDeviceComponent } from './create-device/create-device.component';
import { BindDeviceComponent } from './bind-device/bind-device.component';
import { EquipmentComponent } from './equipment.component';
import { ProductComponent } from './product/product.component';
import { ListComponent } from './list/list.component';
import { WarningComponent } from './warning/warning.component';
import { CreateProductComponent } from './create-product/create-product.component';

export const EquipmentRoutes = [
    {
        path: '',
        component:EquipmentComponent,
        children: [
            { path: 'warning', component: WarningComponent },//预警设置
            { path: 'list', component: ListComponent },//设备列表
            { path: 'product', component: ProductComponent },//产品设置
            { path: 'bind/:id', component: BindDeviceComponent },//绑定设备
            { path: 'createProduct', component: CreateProductComponent },//创建产品类型
            { path: 'createDevice', component: CreateDeviceComponent },//创建设备
        ]
    }
  ];